package com.client;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import com.serverclient.cglib.annotation.EnableCglibServerClient;
import com.serverclient.jdk.annotation.EnableJdkServerClient;

@SpringBootApplication
//cglib动态代理模式
@EnableCglibServerClient
//jdk反射动态代理模式
@EnableJdkServerClient
public class Client{
    public static void main( String[] args ){
    	SpringApplication springApplication = new SpringApplication(Client.class);
		springApplication.setBannerMode(Banner.Mode.OFF);
		springApplication.run(args);
    }
}
